package com.dy.nygl.mapper;

import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.MonitorMedia;
@Component("MonitorMediaMapper")
public interface MonitorMediaMapper {
	
    int deleteByPrimaryKey(Integer id);

    int insert(MonitorMedia record);

    int insertSelective(MonitorMedia record);

    MonitorMedia selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MonitorMedia record);

    int updateByPrimaryKey(MonitorMedia record);
    
    MonitorMedia selectcode(String name);
    
}